#ifndef _PROPERTY_H_
#define _PROPERTY_H_

//#include "CGlobals.h"
#include "IrrString.h"
#include "IAttributes.h"

namespace irr
{
	namespace gui
	{
		class IGUIElement;
	}
}

class CProperty
{
public:
	CProperty()
	{
		m_GUIElementStatic = 0;
		m_GUIElementEdit = 0;
		m_GUIElementButton = 0;

		// add for more convenient to locale the object selected
		m_GUIElementObjectName = 0;
		//-------------------------------------------------------

		m_Type = irr::io::EAT_UNKNOWN;
		m_Name = "";
		m_bUserData = false;
	};

	irr::gui::IGUIElement* m_GUIElementStatic;
	irr::gui::IGUIElement* m_GUIElementEdit;
	irr::gui::IGUIElement* m_GUIElementButton;
	irr::gui::IGUIElement* m_GUIElementObjectName;
	irr::io::E_ATTRIBUTE_TYPE m_Type;
	irr::core::stringw m_Name;
	bool m_bUserData;
};

#endif